package com.m3958.firstgwt.server.camel;

import java.util.Date;

import org.apache.camel.Exchange;

public class PrintBean {
	
//	Exchange.TIMER_NAME 	String 	The value of the name option.
//	Exchange.TIMER_TIME 	Date 	The value of the time option.
//	Exchange.TIMER_PERIOD 	long 	The value of the period option.
//	Exchange.TIMER_FIRED_TIME 	Date 	The time when the consumer fired.
//	Exchange.TIMER_COUNTER 	Long 	Camel 2.8: The current fire counter. Starts from 1. 
//	Message Headers
//
//	When the timer is fired, it adds the following information as headers to the IN message
//	Name 	Type 	Description
//	Exchange.TIMER_FIRED_TIME 	java.util.Date 	The time when the consumer fired 
	
	public void p(Exchange e){
		System.out.println("timer counter:" + e.getProperty(Exchange.TIMER_COUNTER));
	}
}
